<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数学思想方法 - 试题库管理系统</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    
    <!-- Tailwind 配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CBCB',
                        accent: '#FF7D00',
                        success: '#00B42A',
                        warning: '#FF7D00',
                        danger: '#F53F3F',
                    },
                    fontFamily: {
                        inter: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .fade-in {
                animation: fadeIn 0.5s ease-in-out;
            }
            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(10px); }
                to { opacity: 1; transform: translateY(0); }
            }
            .path-node {
                transition: all 0.3s ease;
            }
            .path-node:hover {
                transform: scale(1.03);
            }
            .progress-bar {
                transition: width 1s ease-in-out;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-inter text-gray-800 min-h-screen flex flex-col">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50 transition-all duration-300">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <div class="flex items-center space-x-2">
                <button id="sidebar-toggle" class="lg:hidden text-gray-500 hover:text-primary transition-colors">
                    <i class="fa fa-bars text-xl"></i>
                </button>
                <h1 class="text-xl font-bold text-primary flex items-center">
                    <i class="fa fa-book mr-2"></i>
                    <span>试题库管理系统</span>
                </h1>
            </div>
            
            <div class="hidden md:flex items-center space-x-6">
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">首页</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">题库</a>
                <a href="#" class="text-primary font-medium border-b-2 border-primary pb-1">学习路径</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">统计分析</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">系统设置</a>
            </div>
            
            <div class="flex items-center space-x-4">
                <div class="relative">
                    <input type="text" placeholder="搜索学习路径、课程..." 
                           class="pl-10 pr-4 py-2 rounded-full bg-gray-100 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all w-40 lg:w-64">
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                </div>
                
                <div class="relative">
                    <button class="text-gray-500 hover:text-primary transition-colors">
                        <i class="fa fa-bell text-xl"></i>
                        <span class="absolute -top-1 -right-1 bg-danger text-white text-xs rounded-full h-4 w-4 flex items-center justify-center">3</span>
                    </button>
                </div>
                
                <div class="flex items-center space-x-2 cursor-pointer group">
                    <img src="https://picsum.photos/id/64/40/40" alt="用户头像" class="w-8 h-8 rounded-full object-cover border-2 border-transparent group-hover:border-primary transition-all">
                    <span class="hidden md:inline font-medium">张老师</span>
                    <i class="fa fa-angle-down text-gray-400 group-hover:text-primary transition-colors"></i>
                </div>
            </div>
        </div>
    </header>

    <div class="flex flex-1 overflow-hidden">
        <!-- 左侧边栏 - 学习路径导航 -->
        <aside id="sidebar" class="w-64 bg-white shadow-md transform -translate-x-full lg:translate-x-0 fixed lg:static h-full z-40 transition-transform duration-300 ease-in-out overflow-y-auto scrollbar-hide">
            <div class="p-4 border-b">
                <div class="flex items-center justify-between mb-3">
                    <h2 class="font-bold text-lg">学习路径导航</h2>
                    <div class="relative">
                        <select class="appearance-none bg-gray-100 rounded-lg px-3 py-1 pr-8 focus:outline-none focus:ring-1 focus:ring-primary">
                            <option>全部学科</option>
                            <option>数学</option>
                            <option selected>数学思想方法</option>
                            <option>物理</option>
                            <option>化学</option>
                        </select>
                        <i class="fa fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 pointer-events-none"></i>
                    </div>
                </div>
                
                <div class="relative">
                    <input type="text" placeholder="搜索学习路径..." 
                           class="w-full pl-8 pr-4 py-2 rounded-lg bg-gray-100 focus:outline-none focus:ring-1 focus:ring-primary">
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                </div>
            </div>
            
            <!-- 学习路径列表 -->
            <div class="p-4">
                <h3 class="font-medium text-sm text-gray-500 mb-3">推荐学习路径</h3>
                
                <div class="space-y-2">
                    <div class="hover:bg-gray-50 p-3 rounded-lg cursor-pointer transition-colors">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i class="fa fa-graduation-cap text-gray-400 mr-2"></i>
                                <span>高中数学基础夯实</span>
                            </div>
                            <span class="text-xs bg-gray-100 text-gray-500 px-2 py-0.5 rounded-full">进行中</span>
                        </div>
                        <div class="mt-2 flex items-center">
                            <div class="w-full bg-gray-200 rounded-full h-1.5 mr-2">
                                <div class="bg-primary h-1.5 rounded-full progress-bar" style="width: 45%"></div>
                            </div>
                            <span class="text-xs text-gray-500">45%</span>
                        </div>
                    </div>
                    
                    <div class="bg-primary/5 border-l-2 border-primary p-3 rounded-r-lg cursor-pointer hover:bg-primary/10 transition-colors">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i class="fa fa-lightbulb-o text-primary mr-2"></i>
                                <span>数学思想方法</span>
                            </div>
                            <span class="text-xs bg-primary/20 text-primary px-2 py-0.5 rounded-full">进行中</span>
                        </div>
                        <div class="mt-2 flex items-center">
                            <div class="w-full bg-gray-200 rounded-full h-1.5 mr-2">
                                <div class="bg-primary h-1.5 rounded-full progress-bar" style="width: 25%"></div>
                            </div>
                            <span class="text-xs text-gray-500">25%</span>
                        </div>
                    </div>
                    
                    <div class="hover:bg-gray-50 p-3 rounded-lg cursor-pointer transition-colors">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i class="fa fa-line-chart text-gray-400 mr-2"></i>
                                <span>数学竞赛进阶</span>
                            </div>
                            <span class="text-xs bg-gray-100 text-gray-500 px-2 py-0.5 rounded-full">未开始</span>
                        </div>
                    </div>
                    
                    <div class="hover:bg-gray-50 p-3 rounded-lg cursor-pointer transition-colors">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i class="fa fa-calculator text-gray-400 mr-2"></i>
                                <span>概率统计应用</span>
                            </div>
                            <span class="text-xs bg-gray-100 text-gray-500 px-2 py-0.5 rounded-full">未开始</span>
                        </div>
                    </div>
                </div>
                
                <div class="mt-6">
                    <button class="w-full flex items-center justify-center p-3 border border-dashed border-gray-300 rounded-lg text-gray-500 hover:bg-gray-50 transition-colors">
                        <i class="fa fa-plus mr-2"></i>
                        <span>创建新学习路径</span>
                    </button>
                </div>
            </div>
        </aside>
        
        <!-- 主内容区 -->
        <main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-6">
            <div class="container mx-auto">
                <!-- 面包屑导航 -->
                <div class="flex items-center text-sm text-gray-500 mb-4">
                    <a href="#" class="hover:text-primary">首页</a>
                    <i class="fa fa-angle-right mx-2 text-gray-300"></i>
                    <a href="#" class="hover:text-primary">学习路径</a>
                    <i class="fa fa-angle-right mx-2 text-gray-300"></i>
                    <span class="text-primary font-medium">数学思想方法</span>
                </div>
                
                <!-- 内容标题区 -->
                <div class="flex flex-col md:flex-row md:items-center justify-between mb-6">
                    <div>
                        <h2 class="text-[clamp(1.5rem,3vw,2rem)] font-bold text-gray-800">数学思想方法</h2>
                        <p class="text-gray-500 mt-1">共包含8个学习模块，预计学习时间4个月</p>
                    </div>
                    
                    <div class="flex space-x-3 mt-4 md:mt-0">
                        <button class="bg-white border border-gray-300 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-50 transition-colors flex items-center">
                            <i class="fa fa-share-alt mr-2"></i> 分享路径
                        </button>
                        <button class="bg-white border border-gray-300 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-50 transition-colors flex items-center">
                            <i class="fa fa-download mr-2"></i> 导出计划
                        </button>
                        <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-primary/90 transition-colors flex items-center">
                            <i class="fa fa-play-circle mr-2"></i> 继续学习
                        </button>
                    </div>
                </div>
                
                <!-- 学习路径概览 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <div class="flex flex-col md:flex-row md:items-start space-y-4 md:space-y-0 md:space-x-6">
                        <div class="md:w-1/3">
                            <div class="relative">
                                <img src="https://picsum.photos/id/16/800/400" alt="数学思想方法学习路径" class="w-full h-48 object-cover rounded-lg">
                                <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent rounded-lg flex items-end p-4">
                                    <div>
                                        <span class="inline-block px-2 py-1 text-xs font-medium bg-secondary/90 text-white rounded mb-1">核心课程</span>
                                        <h3 class="text-white font-medium">数学思想方法</h3>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="mt-4 space-y-3">
                                <div class="flex items-center justify-between">
                                    <span class="text-gray-600">进度</span>
                                    <span class="text-primary font-medium">25%</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-primary h-2 rounded-full progress-bar" style="width: 25%"></div>
                                </div>
                                
                                <div class="flex items-center justify-between">
                                    <span class="text-gray-600">已完成模块</span>
                                    <span class="text-gray-800 font-medium">2/8</span>
                                </div>
                                
                                <div class="flex items-center justify-between">
                                    <span class="text-gray-600">已掌握思想</span>
                                    <span class="text-gray-800 font-medium">12/48</span>
                                </div>
                                
                                <div class="flex items-center justify-between">
                                    <span class="text-gray-600">预计剩余时间</span>
                                    <span class="text-gray-800 font-medium">3个月</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="md:w-2/3">
                            <h3 class="text-lg font-bold mb-3">路径介绍</h3>
                            <p class="text-gray-600 mb-4">
                                "数学思想方法"学习路径专注于培养学生的数学思维能力和解题策略，系统讲解高中数学中常用的思想方法，包括函数与方程思想、数形结合思想、分类讨论思想、转化与化归思想等。通过具体实例和典型例题，帮助学生掌握这些思想方法的应用场景和技巧，提高解题能力和数学素养。
                            </p>
                            
                            <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
                                <div class="flex items-center">
                                    <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-primary mr-3">
                                        <i class="fa fa-lightbulb-o"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">8个学习模块</h4>
                                        <p class="text-sm text-gray-500">全面覆盖高中数学核心思想方法</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-center">
                                    <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3">
                                        <i class="fa fa-tasks"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">48种思想方法</h4>
                                        <p class="text-sm text-gray-500">深度解析数学思想的应用技巧</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-center">
                                    <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 mr-3">
                                        <i class="fa fa-question-circle"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">300+道典型例题</h4>
                                        <p class="text-sm text-gray-500">通过实例掌握思想方法的应用</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-center">
                                    <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 mr-3">
                                        <i class="fa fa-certificate"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">模块测试</h4>
                                        <p class="text-sm text-gray-500">每模块结束后进行综合测评</p>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="flex flex-wrap gap-2">
                                <span class="inline-block px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-full">数学思想</span>
                                <span class="inline-block px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-full">解题方法</span>
                                <span class="inline-block px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-full">思维训练</span>
                                <span class="inline-block px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-full">高中数学</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 学习路径图 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <h3 class="text-lg font-bold mb-4">学习路径图</h3>
                    
                    <div class="relative overflow-x-auto pb-4">
                        <div class="flex flex-col md:flex-row md:items-start space-y-8 md:space-y-0 md:space-x-8">
                            <!-- 模块1 -->
                            <div class="path-node flex-1">
                                <div class="bg-green-50 border border-green-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-green-600 font-medium">模块 1</span>
                                        <span class="text-xs bg-green-100 text-green-600 px-2 py-0.5 rounded-full">已完成</span>
                                    </div>
                                    <h4 class="font-bold mb-2">函数与方程思想</h4>
                                    <p class="text-sm text-gray-600 mb-3 flex-1">学习函数思想和方程思想的基本概念，掌握如何将问题转化为函数或方程模型解决。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">6种思想方法</span>
                                        <span class="text-green-600 flex items-center">
                                            <i class="fa fa-check-circle mr-1"></i> 已完成
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 模块2 -->
                            <div class="path-node flex-1">
                                <div class="bg-green-50 border border-green-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-green-600 font-medium">模块 2</span>
                                        <span class="text-xs bg-green-100 text-green-600 px-2 py-0.5 rounded-full">已完成</span>
                                    </div>
                                    <h4 class="font-bold mb-2">数形结合思想</h4>
                                    <p class="text-sm text-gray-600 mb-3 flex-1">学习如何将代数问题与几何图形相结合，利用图形的直观性解决代数问题。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">8种思想方法</span>
                                        <span class="text-green-600 flex items-center">
                                            <i class="fa fa-check-circle mr-1"></i> 已完成
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 模块3 -->
                            <div class="path-node flex-1">
                                <div class="bg-blue-50 border border-blue-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-blue-600 font-medium">模块 3</span>
                                        <span class="text-xs bg-blue-100 text-blue-600 px-2 py-0.5 rounded-full">进行中</span>
                                    </div>
                                    <h4 class="font-bold mb-2">分类讨论思想</h4>
                                    <p class="text-sm text-gray-600 mb-3 flex-1">学习如何根据问题的特点和要求，将问题分为不同的情况进行讨论和解决。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">7种思想方法</span>
                                        <span class="text-blue-600 flex items-center">
                                            <i class="fa fa-spinner fa-spin mr-1"></i> 进行中
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 模块4 -->
                            <div class="path-node flex-1">
                                <div class="bg-gray-50 border border-gray-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-gray-600 font-medium">模块 4</span>
                                        <span class="text-xs bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">未开始</span>
                                    </div>
                                    <h4 class="font-bold mb-2">转化与化归思想</h4>
                                    <p class="text-sm text-gray-500 mb-3 flex-1">学习如何将复杂问题转化为简单问题，将未知问题转化为已知问题。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">7种思想方法</span>
                                        <span class="text-gray-500 flex items-center">
                                            <i class="fa fa-lock mr-1"></i> 未解锁
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 模块5 -->
                            <div class="path-node flex-1">
                                <div class="bg-gray-50 border border-gray-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-gray-600 font-medium">模块 5</span>
                                        <span class="text-xs bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">未开始</span>
                                    </div>
                                    <h4 class="font-bold mb-2">特殊与一般思想</h4>
                                    <p class="text-sm text-gray-500 mb-3 flex-1">学习如何从特殊情况归纳出一般规律，以及如何利用一般规律解决特殊问题。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">6种思想方法</span>
                                        <span class="text-gray-500 flex items-center">
                                            <i class="fa fa-lock mr-1"></i> 未解锁
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 模块6 -->
                            <div class="path-node flex-1">
                                <div class="bg-gray-50 border border-gray-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-gray-600 font-medium">模块 6</span>
                                        <span class="text-xs bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">未开始</span>
                                    </div>
                                    <h4 class="font-bold mb-2">极限思想</h4>
                                    <p class="text-sm text-gray-500 mb-3 flex-1">学习如何利用极限的概念和方法解决数学问题，理解微积分的基本思想。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">5种思想方法</span>
                                        <span class="text-gray-500 flex items-center">
                                            <i class="fa fa-lock mr-1"></i> 未解锁
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 更多模块可以继续添加 -->
                        </div>
                        
                        <!-- 连接线（仅在桌面视图显示） -->
                        <div class="hidden md:block absolute top-1/2 left-0 right-0 transform -translate-y-1/2 pointer-events-none">
                            <div class="h-1 bg-gray-200 w-full relative">
                                <div class="absolute left-0 right-[62.5%] h-full bg-green-400"></div>
                                <div class="absolute left-[62.5%] right-[50%] h-full bg-blue-400"></div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 当前模块详情 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <div class="flex items-center justify-between mb-4">
                        <h3 class="text-lg font-bold">当前模块：分类讨论思想</h3>
                        <div class="flex items-center">
                            <span class="text-sm text-gray-500 mr-2">进度：</span>
                            <div class="w-32 bg-gray-200 rounded-full h-2 mr-2">
                                <div class="bg-blue-400 h-2 rounded-full progress-bar" style="width: 40%"></div>
                            </div>
                            <span class="text-sm text-blue-600 font-medium">40%</span>
                        </div>
                    </div>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <!-- 左侧：学习内容 -->
                        <div>
                            <h4 class="font-medium mb-3">学习内容</h4>
                            
                            <div class="space-y-3">
                                <!-- 已完成的课程 -->
                                <div class="p-3 border border-green-200 bg-green-50 rounded-lg flex items-center">
                                    <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3">
                                        <i class="fa fa-check"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">分类讨论的基本概念</h5>
                                        <p class="text-sm text-gray-600">学习分类讨论的定义、适用范围和基本步骤，了解分类的原则和方法。</p>
                                    </div>
                                    <div class="text-green-600">
                                        <i class="fa fa-check-circle"></i>
                                    </div>
                                </div>
                                
                                <!-- 已完成的课程 -->
                                <div class="p-3 border border-green-200 bg-green-50 rounded-lg flex items-center">
                                    <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3">
                                        <i class="fa fa-check"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">绝对值问题中的分类讨论</h5>
                                        <p class="text-sm text-gray-600">学习如何在绝对值问题中运用分类讨论思想，掌握绝对值方程和不等式的解法。</p>
                                    </div>
                                    <div class="text-green-600">
                                        <i class="fa fa-check-circle"></i>
                                    </div>
                                </div>
                                
                                <!-- 进行中的课程 -->
                                <div class="p-3 border border-blue-200 bg-blue-50 rounded-lg flex items-center">
                                    <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 mr-3">
                                        <i class="fa fa-spinner fa-spin"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">函数定义域和值域中的分类讨论</h5>
                                        <p class="text-sm text-gray-600">学习如何在函数定义域和值域问题中运用分类讨论思想，解决含参数的函数问题。</p>
                                    </div>
                                    <div class="text-blue-600">
                                        <i class="fa fa-play-circle"></i>
                                    </div>
                                </div>
                                
                                <!-- 未开始的课程 -->
                                <div class="p-3 border border-gray-200 bg-gray-50 rounded-lg flex items-center opacity-70">
                                    <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-400 mr-3">
                                        <i class="fa fa-lock"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">数列中的分类讨论</h5>
                                        <p class="text-sm text-gray-500">学习如何在数列问题中运用分类讨论思想，解决递推数列和数列求和问题。</p>
                                    </div>
                                    <div class="text-gray-400">
                                        <i class="fa fa-lock"></i>
                                    </div>
                                </div>
                                
                                <!-- 未开始的课程 -->
                                <div class="p-3 border border-gray-200 bg-gray-50 rounded-lg flex items-center opacity-70">
                                    <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-400 mr-3">
                                        <i class="fa fa-lock"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">几何问题中的分类讨论</h5>
                                        <p class="text-sm text-gray-500">学习如何在几何问题中运用分类讨论思想，解决点、线、面的位置关系问题。</p>
                                    </div>
                                    <div class="text-gray-400">
                                        <i class="fa fa-lock"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 右侧：学习资源 -->
                        <div>
                            <h4 class="font-medium mb-3">学习资源</h4>
                            
                            <div class="space-y-3">
                                <!-- 视频资源 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-red-100 flex items-center justify-center text-red-600 mr-3">
                                            <i class="fa fa-play"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">分类讨论思想概述</h5>
                                            <p class="text-sm text-gray-500">视频教程 · 30分钟</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 文档资源 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-blue-100 flex items-center justify-center text-blue-600 mr-3">
                                            <i class="fa fa-file-text-o"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">函数中的分类讨论详解</h5>
                                            <p class="text-sm text-gray-500">学习文档 · 22页</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 练习题 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-green-100 flex items-center justify-center text-green-600 mr-3">
                                            <i class="fa fa-pencil"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">分类讨论专项练习题</h5>
                                            <p class="text-sm text-gray-500">15道解答题 · 60分钟</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 参考资料 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-purple-100 flex items-center justify-center text-purple-600 mr-3">
                                            <i class="fa fa-book"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">高中数学分类讨论经典例题</h5>
                                            <p class="text-sm text-gray-500">参考资料 · 35页</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 讨论区 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-yellow-100 flex items-center justify-center text-yellow-600 mr-3">
                                            <i class="fa fa-comments"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">分类讨论思想讨论区</h5>
                                            <p class="text-sm text-gray-500">42个话题 · 218条回复</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 推荐学习资源 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <h3 class="text-lg font-bold mb-4">推荐学习资源</h3>
                    
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                        <!-- 资源卡片1 -->
                        <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-md transition-shadow">
                            <div class="h-36 overflow-hidden">
                                <img src="https://picsum.photos/id/24/600/400" alt="数学思想方法精讲" class="w-full h-full object-cover hover:scale-105 transition-transform duration-300">
                            </div>
                            <div class="p-4">
                                <div class="flex items-center mb-2">
                                    <span class="inline-block px-2 py-1 text-xs font-medium bg-blue-100 text-blue-800 rounded mr-2">视频</span>
                                    <span class="text-xs text-gray-500">3小时20分钟</span>
                                </div>
                                <h4 class="font-medium mb-2">数学思想方法精讲</h4>
                                <p class="text-sm text-gray-600 mb-3">深入讲解高中数学中常用的思想方法，通过典型例题分析思想方法的应用技巧。</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/64/30/30" alt="讲师头像" class="w-6 h-6 rounded-full mr-2">
                                        <span class="text-xs text-gray-500">李教授</span>
                                    </div>
                                    <div class="flex items-center text-yellow-400 text-xs">
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star-half-o"></i>
                                        <span class="ml-1 text-gray-500">4.7</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 资源卡片2 -->
                        <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-md transition-shadow">
                            <div class="h-36 overflow-hidden">
                                <img src="https://picsum.photos/id/3/600/400" alt="高中数学解题策略" class="w-full h-full object-cover hover:scale-105 transition-transform duration-300">
                            </div>
                            <div class="p-4">
                                <div class="flex items-center mb-2">
                                    <span class="inline-block px-2 py-1 text-xs font-medium bg-green-100 text-green-800 rounded mr-2">书籍</span>
                                    <span class="text-xs text-gray-500">286页</span>
                                </div>
                                <h4 class="font-medium mb-2">高中数学解题策略</h4>
                                <p class="text-sm text-gray-600 mb-3">系统总结高中数学解题的各种策略和技巧，着重讲解思想方法的应用。</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/91/30/30" alt="作者头像" class="w-6 h-6 rounded-full mr-2">
                                        <span class="text-xs text-gray-500">王老师</span>
                                    </div>
                                    <div class="flex items-center text-yellow-400 text-xs">
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <span class="ml-1 text-gray-500">5.0</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 资源卡片3 -->
                        <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-md transition-shadow">
                            <div class="h-36 overflow-hidden">
                                <img src="https://picsum.photos/id/160/600/400" alt="数学思想方法应用案例" class="w-full h-full object-cover hover:scale-105 transition-transform duration-300">
                            </div>
                            <div class="p-4">
                                <div class="flex items-center mb-2">
                                    <span class="inline-block px-2 py-1 text-xs font-medium bg-purple-100 text-purple-800 rounded mr-2">课程</span>
                                    <span class="text-xs text-gray-500">4小时15分钟</span>
                                </div>
                                <h4 class="font-medium mb-2">数学思想方法应用案例</h4>
                                <p class="text-sm text-gray-600 mb-3">通过大量实际案例，详细讲解如何在不同类型的题目中灵活运用数学思想方法。</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/177/30/30" alt="讲师头像" class="w-6 h-6 rounded-full mr-2">
                                        <span class="text-xs text-gray-500">张教授</span>
                                    </div>
                                    <div class="flex items-center text-yellow-400 text-xs">
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star-o"></i>
                                        <span class="ml-1 text-gray-500">4.2</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 学习数据统计 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <h3 class="text-lg font-bold mb-4">学习数据统计</h3>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <!-- 左侧：思想方法掌握情况 -->
                        <div>
                            <h4 class="font-medium mb-3">思想方法掌握情况</h4>
                            <div class="bg-gray-50 p-4 rounded-lg h-64">
                                <canvas id="thinkingMethodsChart"></canvas>
                            </div>
                        </div>
                        
                        <!-- 右侧：解题能力提升 -->
                        <div>
                            <h4 class="font-medium mb-3">解题能力提升</h4>
                            <div class="bg-gray-50 p-4 rounded-lg h-64">
                                <canvas id="problemSolvingChart"></canvas>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 学习社区讨论 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <div class="flex items-center justify-between mb-4">
                        <h3 class="text-lg font-bold">学习社区讨论</h3>
                        <button class="text-primary hover:text-primary/80 transition-colors text-sm font-medium">
                            查看全部讨论 <i class="fa fa-angle-right ml-1"></i>
                        </button>
                    </div>
                    
                    <div class="space-y-4">
                        <!-- 讨论话题1 -->
                        <div class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors">
                            <div class="flex items-start">
                                <img src="https://picsum.photos/id/1025/40/40" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
                                <div class="flex-1">
                                    <div class="flex items-center justify-between mb-1">
                                        <h4 class="font-medium">在分类讨论中如何确定分类标准？</h4>
                                        <span class="text-xs text-gray-500">1天前</span>
                                    </div>
                                    <p class="text-sm text-gray-600 mb-2">大家在进行分类讨论时，如何确定分类的标准？有什么技巧或方法可以分享吗？</p>
                                    <div class="flex items-center text-sm text-gray-500">
                                        <span class="flex items-center mr-4">
                                            <i class="fa fa-comment-o mr-1"></i> 23条回复
                                        </span>
                                        <span class="flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 127次查看
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 讨论话题2 -->
                        <div class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors">
                            <div class="flex items-start">
                                <img src="https://picsum.photos/id/1074/40/40" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
                                <div class="flex-1">
                                    <div class="flex items-center justify-between mb-1">
                                        <h4 class="font-medium">如何避免分类讨论中的重复和遗漏？</h4>
                                        <span class="text-xs text-gray-500">3天前</span>
                                    </div>
                                    <p class="text-sm text-gray-600 mb-2">在进行分类讨论时，经常会出现重复或遗漏的情况，大家有什么好的方法或策略可以避免这种情况发生？</p>
                                    <div class="flex items-center text-sm text-gray-500">
                                        <span class="flex items-center mr-4">
                                            <i class="fa fa-comment-o mr-1"></i> 18条回复
                                        </span>
                                        <span class="flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 95次查看
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 讨论话题3 -->
                        <div class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors">
                            <div class="flex items-start">
                                <img src="https://picsum.photos/id/1062/40/40" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
                                <div class="flex-1">
                                    <div class="flex items-center justify-between mb-1">
                                        <h4 class="font-medium">函数定义域中的分类讨论有哪些常见类型？</h4>
                                        <span class="text-xs text-gray-500">1周前</span>
                                    </div>
                                    <p class="text-sm text-gray-600 mb-2">在函数定义域的问题中，经常需要进行分类讨论，大家能总结一下常见的类型和解题方法吗？</p>
                                    <div class="flex items-center text-sm text-gray-500">
                                        <span class="flex items-center mr-4">
                                            <i class="fa fa-comment-o mr-1"></i> 15条回复
                                        </span>
                                        <span class="flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 82次查看
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 学习提醒 -->
                <div class="bg-gradient-to-r from-secondary/90 to-secondary rounded-xl p-6 mb-6 fade-in">
                    <div class="flex flex-col md:flex-row md:items-center justify-between">
                        <div class="mb-4 md:mb-0">
                            <h3 class="text-white font-bold text-xl mb-2">继续探索分类讨论思想</h3>
                            <p class="text-white/80">你已经完成了"分类讨论的基本概念"和"绝对值问题中的分类讨论"的学习，接下来可以继续学习"函数定义域和值域中的分类讨论"章节。</p>
                        </div>
                        <button class="bg-white text-secondary px-6 py-3 rounded-lg font-medium hover:bg-gray-100 transition-colors flex items-center justify-center">
                            <i class="fa fa-play-circle mr-2"></i> 继续学习
                        </button>
                    </div>
                </div>
            </div>
        </main>
    </div>
    
    <!-- 页脚 -->
    <footer class="bg-white border-t border-gray-200 py-6">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row md:items-center justify-between">
                <div class="mb-4 md:mb-0">
                    <div class="flex items-center">
                        <i class="fa fa-book text-primary text-xl mr-2"></i>
                        <span class="font-bold text-gray-800">试题库管理系统</span>
                    </div>
                    <p class="text-gray-500 text-sm mt-2">© 2025 试题库管理系统. 保留所有权利.</p>
                </div>
                
                <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">学习资源</h4>
                        <ul class="space-y-1">
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">学习路径</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">题库</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">视频教程</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">参考资料</a></li>
                        </ul>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">帮助中心</h4>
                        <ul class="space-y-1">
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">使用指南</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">常见问题</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">联系我们</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">意见反馈</a></li>
                        </ul>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">关于我们</h4>
                        <ul class="space-y-1">
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">平台介绍</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">团队成员</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">合作伙伴</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">加入我们</a></li>
                        </ul>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">关注我们</h4>
                        <div class="flex space-x-3 mb-2">
                            <a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-600 hover:bg-primary hover:text-white transition-colors">
                                <i class="fa fa-weixin"></i>
                            </a>
                            <a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-600 hover:bg-primary hover:text-white transition-colors">
                                <i class="fa fa-weibo"></i>
                            </a>
                            <a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-600 hover:bg-primary hover:text-white transition-colors">
                                <i class="fa fa-qq"></i>
                            </a>
                            <a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-600 hover:bg-primary hover:text-white transition-colors">
                                <i class="fa fa-github"></i>
                            </a>
                        </div>
                        <p class="text-gray-500 text-sm">客服电话：400-123-4567</p>
                        <p class="text-gray-500 text-sm">工作时间：周一至周五 9:00-18:00</p>
                    </div>
                </div>
            </div>
            
            <div class="border-t border-gray-200 mt-6 pt-6 flex flex-col md:flex-row md:items-center justify-between">
                <p class="text-gray-500 text-sm mb-4 md:mb-0">
                    备案号：<a href="#" class="text-gray-500 hover:text-primary">ICP备12345678号-1</a>
                </p>
                <div class="flex space-x-4">
                    <a href="#" class="text-gray-500 hover:text-primary text-sm">隐私政策</a>
                    <a href="#" class="text-gray-500 hover:text-primary text-sm">用户协议</a>
                    <a href="#" class="text-gray-500 hover:text-primary text-sm">版权声明</a>
                </div>
            </div>
        </div>
    </footer>
    
    <!-- JavaScript -->
    <script>
        // 侧边栏切换
        document.getElementById('sidebar-toggle').addEventListener('click', function() {
            const sidebar = document.getElementById('sidebar');
            sidebar.classList.toggle('-translate-x-full');
        });
        
        // 初始化图表
        document.addEventListener('DOMContentLoaded', function() {
            // 思想方法掌握情况图表
            const thinkingCtx = document.getElementById('thinkingMethodsChart').getContext('2d');
            new Chart(thinkingCtx, {
                type: 'doughnut',
                data: {
                    labels: ['已掌握', '学习中', '未开始'],
                    datasets: [{
                        data: [12, 5, 31],
                        backgroundColor: [
                            '#00B42A',
                            '#165DFF',
                            '#E5E7EB'
                        ],
                        borderWidth: 0
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    plugins: {
                        legend: {
                            position: 'right',
                            labels: {
                                usePointStyle: true,
                                padding: 20
                            }
                        },
                        tooltip: {
                            callbacks: {
                                label: function(context) {
                                    const label = context.label || '';
                                    const value = context.raw || 0;
                                    const total = context.dataset.data.reduce((a, b) => a + b, 0);
                                    const percentage = Math.round((value / total) * 100);
                                    return `${label}: ${value} (${percentage}%)`;
                                }
                            }
                        }
                    },
                    cutout: '70%'
                }
            });
            
            // 解题能力提升图表
            const problemCtx = document.getElementById('problemSolvingChart').getContext('2d');
            new Chart(problemCtx, {
                type: 'line',
                data: {
                    labels: ['第1周', '第2周', '第3周', '第4周', '第5周', '第6周'],
                    datasets: [{
                        label: '解题正确率',
                        data: [65, 68, 72, 78, 81, 85],
                        borderColor: '#165DFF',
                        backgroundColor: 'rgba(22, 93, 255, 0.1)',
                        fill: true,
                        tension: 0.4,
                        pointBackgroundColor: '#FFFFFF',
                        pointBorderColor: '#165DFF',
                        pointBorderWidth: 2,
                        pointRadius: 4
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    plugins: {
                        legend: {
                            display: false
                        },
                        tooltip: {
                            mode: 'index',
                            intersect: false,
                            backgroundColor: 'rgba(255, 255, 255, 0.9)',
                            titleColor: '#1F2937',
                            bodyColor: '#4B5563',
                            borderColor: '#E5E7EB',
                            borderWidth: 1,
                            padding: 10,
                            boxPadding: 5,
                            usePointStyle: true,
                            callbacks: {
                                label: function(context) {
                                    return `正确率: ${context.raw}%`;
                                }
                            }
                        }
                    },
                    scales: {
                        y: {
                            beginAtZero: true,
                            max: 100,
                            grid: {
                                color: 'rgba(0, 0, 0, 0.05)'
                            },
                            ticks: {
                                callback: function(value) {
                                    return value + '%';
                                }
                            }
                        },
                        x: {
                            grid: {
                                display: false
                            }
                        }
                    }
                }
            });
        });
        
        // 滚动动画
        document.addEventListener('DOMContentLoaded', function() {
            const fadeElements = document.querySelectorAll('.fade-in');
            
            const fadeInObserver = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.style.opacity = '1';
                        entry.target.style.transform = 'translateY(0)';
                        fadeInObserver.unobserve(entry.target);
                    }
                });
            }, {
                threshold: 0.1
            });
            
            fadeElements.forEach(element => {
                element.style.opacity = '0';
                element.style.transform = 'translateY(20px)';
                element.style.transition = 'opacity 0.5


                element.style.transition = 'opacity 0.5s ease-in-out, transform 0.5s ease-in-out';
                fadeInObserver.observe(element);
            });
        });
        
        // 导航栏滚动效果
        window.addEventListener('scroll', function() {
            const header = document.querySelector('header');
            if (window.scrollY > 50) {
                header.classList.add('py-2');
                header.classList.remove('py-3');
                header.classList.add('shadow');
            } else {
                header.classList.add('py-3');
                header.classList.remove('py-2');
                header.classList.remove('shadow');
            }
        });
        
        // 学习内容项点击效果
        document.querySelectorAll('.flex.items-center.space-y-3 > div').forEach(item => {
            item.addEventListener('click', function() {
                if (this.querySelector('.text-blue-600')) {
                    // 只有进行中的课程可以点击
                    window.location.href = '#'; // 替换为实际的学习内容链接
                }
            });
        });
    </script>
</body>
</html>
